home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Mac Game Programming Gurus
/
TricksOfTheMacGameProgrammingGurus.iso
/
More Source
/
C⁄C++
/
Swar
/
globals.h
< prev
next >
Wrap
Text File
|
1992-10-30
|
848b
|
34 lines
CWindowPtr gPictureWindow = 0L;
CGrafPort *gOSPtr = 0L;
CGrafPort *gScrapPtr = 0L;
CGrafPort *PortInit();
Handle gNewMatchSoundH;
Handle gShotSoundH;
Handle gBoomSoundH;
Handle gEndorsementSndH;
Boolean gSoundOn, gPauseOn;
Boolean gPlaying, gDone, gMatchIsEnding;
RGBColor myWhite, myBlack, myRed, myBlue, myYellow, myGreen, myOrange, myGray, myDkBlue;
short gMatchTicker;
MenuHandle gAppleMenu, gFileMenu, gEditMenu;
EventRecord gTheEvent;
Boolean wneAvail, gSndIsInitted;
SysEnvRec theSysEnv;
short gOldDepth;
GDHandle gMainDev;
SHIPREC gShipRecs[MAX_PLAYERS], gOldShipRecs[MAX_PLAYERS];
Rect gShipSrcRects[MAX_PLAYERS][8][8];
DEBRISREC gDebrisRecs[MAX_DEBRIS], gOldDebrisRecs[MAX_DEBRIS];
STARREC gStarRecs[MAX_STARS];
SHOTREC gShotRecs[MAX_SHOTS], gOldShotRecs[MAX_SHOTS];
Rect gShotSrcRects[8];